<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
    }
    div {
      position: absolute;
      left: 500px;
      height: 297px;
      width: 210px;
      background: black;
      -transform: rotate(270deg);
      color: #fff;
    }
    button {
      position: absolute;
    }
  </style>
</head>
<body>
  <script src="https://cdn.bootcdn.net/ajax/libs/promise-polyfill/8.2.1/polyfill.min.js"></script>
  <script src="https://unpkg.com/axios@0.26.0/dist/axios.min.js"></script>
  <script src="https://lib.baomitu.com/snabbdom/0.7.4/snabbdom.min.js"></script>
  <script src="https://lib.baomitu.com/snabbdom/0.7.4/snabbdom-class.min.js"></script>
  <script src="https://lib.baomitu.com/snabbdom/0.7.4/snabbdom-style.min.js"></script>
  <script src="https://lib.baomitu.com/snabbdom/0.7.4/snabbdom-props.js"></script>
  <script src="https://lib.baomitu.com/snabbdom/0.7.4/snabbdom-eventlisteners.min.js"></script>
  <script src="https://lib.baomitu.com/snabbdom/0.7.4/tovnode.min.js"></script>
  <script src="./dist/reader.js"></script>
  <div id="page">顺时针</div>
  <button id="clockwise">顺时针</button>
  <button id="anti-clockwist">逆时针</button>
  <div id="container"></div>
  <script>
    var r = new Reader()
    setTimeout(function () {
      r.render()
    }, 2000)
    axios
      .get('http://panda.cnart.net.cn/restApi/getTempTemplatePageName')
      .then(function (res) {
        console.log(res)
      })
    // setTimeout(() => {r.render()}, 2000)
  </script>
  
</body>
</html>